package club.haomoon.front.data.article;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "PC文章详情Data")
public class PcArticleDetailData implements Serializable {

   @Schema(title  = "文章ID")
    private Integer id;

   @Schema(title = "摘要")
    @JsonProperty(value = "abstract")
    private String abstractField;
   @Schema(title  = "文章作者")
    private String author;
   @Schema(title  = "分类名称")
    private String cateName;
   @Schema(title  = "分类ID")
    private Integer cid;
   @Schema(title  = "浏览数量")
    private Integer click;
   @Schema(title  = "文章标题")
    private String title;
   @Schema(title  = "是否收藏")
    private Boolean collect;
   @Schema(title  = "文章内容")
    private String content;
   @Schema(title  = "创建时间")
    private String createTime;
   @Schema(title  = "更新时间")
    private String updateTime;
   @Schema(title = "简介")
    private String desc;
   @Schema(title  = "文章封面")
    private String image;
   @Schema(title = "是否显示: [0=否, 1=是]")
    private Integer isShow;
   @Schema(title  = "排序编号")
    private Integer sort;
   @Schema(title  = "上一页")
    private Object last;
   @Schema(title  = "下一页")
    private Object next;
   @Schema(title  = "最新推荐")
    @JsonProperty("new")
    private Object news;

}
